package com.gitee.xmhzzz.device.service.domain;

import com.gitee.xmhzzz.component.things.metadata.DataType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName DeviceTag
 * @Description
 * @Author wzq
 * @Date 2024/5/24 15:19
 * @Version 1.0
 */
@Data
public class DeviceTag {

    @Schema(description = "标签名称")
    private String name;

    @Schema(description = "标签值")
    private String value;

    @Schema(description = "类型", defaultValue = "string")
    private String type;

    @Schema(description = "创建时间(只读)")
    private Date createTime;

    @Schema(description = "说明")
    private String description;

    private DataType dataType;
}
